package com.example.service;

import com.example.pojo.ForumReply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.PageBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-08-20
 */
public interface ForumReplyService extends IService<ForumReply> {

    List<ForumReply> getReplyByTid(Integer tid);

    PageBean<ForumReply> getReplyByPage(Integer currentPage,Integer pageSize,Integer tid);

    boolean addReply(ForumReply forumReply, Integer replyCount, Integer forumId, Integer articleCount);
}
